<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title></title>
	<script type="text/javascript" src="__STATIC__/uploadify/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
	<link href="__STATIC__/uploadify/uploadify.css" type="text/css" rel="stylesheet"></link>
	<css file="__STATIC__/hdjs/hdjs.css"/>
	<js file="__STATIC__/hdjs/hdjs.min.js"/>
</head>
<body>
	<div class="hd-menu-list">
	    <ul>
	        <li class="active"><a href="{|U:'Flink/index'}">友链列表</a></li>
	        <li><a href="{|U:'Flink/add'}">添加友链</a></li>

	    </ul>
	</div>
	<table class="hd-table hd-table-list">
		    <thead>
		    <tr>
		     	<td>排序</td>
		        <td>FID</td>
		        <td>链接名</td>
		        <td>链接地址</td>
		        <td>是否显示</td>
		        <!-- <td>文章静态</td> -->
		        <td>操作</td>
		    </tr>
		    </thead>
		    <tbody>
		    <foreach from="$flink" key="$k" value="$v">
			    <tr>
			    	<td><input type="text" value="{$v['sort']}" name="sort[]" class="hd-w30"><input type="hidden" name="fid[]" value="{$v.fid}"></td>
			        <td>{$v['fid']}</td>
			        <td>
			           	{$v['fname']}
			        </td>
			        <!-- <input type="submit" value="{$v['cname']}"> -->
			        <td>{$v['url']}</td>
			        <td>{$v['is_show']}</td>
			        <!-- <td>{$v['is_archtml']}</td> -->
			        <td class="hd-w100">
			            <a href="{|U:'flink/edit',array('fid'=>$v['fid'])}">修改</a> |
			            <a href="{|U:'flink/del',array('fid'=>$v['fid'])}">删除</a>
			        </td>
			    </tr>
			</foreach>
		    </tbody>
		</table>
</body>
</html>